index.html.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <!-- <div>
  8. <templateChannelMenu :skinId="skinId" :navigateData="navigateData.data" :templateData="testTemplateData2" :routeId="routeId"></templateChannelMenu>
  9. <templateScrollList :skinId="skinId" :templateData="testTemplateData"></templateScrollList>
  10. <templateNewSector3 :skinId="skinId" :templateData="testTemplateData"></templateNewSector3>
  11. <templateAd :adTag="'nmw_category_0001'" :skinId="skinId" :adData="adData"></templateAd>
  12. <templateNewSector1 :skinId="skinId" :templateData="testTemplateData"></templateNewSector1>
  13. <templateNewSector2 :skinId="skinId" :templateData="testTemplateData"></templateNewSector2>
  14. </div> -->
  15. <div v-for="(item,index) in templateData" :key="index">
  16. <div v-if="item.sectorName=='channelMenu'">
  17. <templateChannelMenu :skinId="skinId" :routeId="routeId" :navigateData="navigateData.data" :templateData="item.componentList"></templateChannelMenu>
  18. </div>
  19. </div>
  20. <!-- 底部 -->
  21. <templateFoot></templateFoot>
  22. </template>
  23. <script setup>
  24. //0.加载全局模板组件 start---------------------------------------->
  25. //0.1全局通栏
  26. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  27. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  28. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  29. //0.2局部通栏
  30. //0.2.1广告组件
  31. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  32. //0.2.2 频道菜单
  33. import templateChannelMenu from '@/components/template/sector/body/class/menu/1200x100/1.vue'
  34. //0.2.3 滚动图文组合
  35. import templateScrollList from '@/components/template/sector/body/class/banner/1200x410/1.vue'
  36. //0.2.3 图文组合1
  37. import templateNewSector1 from '@/components/template/sector/body/index/list/1200x470/1.vue'
  38. //0.2.4 图文组合2
  39. import templateNewSector2 from '@/components/template/sector/body/index/list/1200x470/2.vue'
  40. //0.2.5 图文组合3
  41. import templateNewSector3 from '@/components/template/sector/body/index/list/1200x980/1.vue'
  42. //0.加载全局模板组件 end---------------------------------------->
  43. //1.获得基本信息单元 start---------------------------------------->
  44. //1.1获得页面依赖
  45. import { ref, onMounted } from 'vue';
  46. import { ElMessage } from 'element-plus';
  47. //1.2使用url查询导航池id
  48. const targetSegment = getRoutePath(1);
  49. const routeId = ref("");
  50. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  51. method: 'GET',
  52. query: {
  53. 'pinyin': targetSegment,
  54. },
  55. });
  56. if (getRouteId.code == 200) {
  57. routeId.value = getRouteId.data.category_id
  58. }
  59. //1.3获得频道页导航
  60. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  61. method: 'GET',
  62. query: {
  63. 'placeid': 1,
  64. 'pid': routeId.value,
  65. 'num': 8
  66. },
  67. });
  68. //1.4获得pinia源
  69. import { useTemplateBaseStore } from '@/stores/templateBase'
  70. const templateBaseStore = useTemplateBaseStore()
  71. //1.5获得该页的皮肤id - 在每个组件中也是同样的获得方法
  72. const skinId = ref("")
  73. const websiteId = ref("")
  74. //1.6获得站点基本信息
  75. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  76. method: 'GET',
  77. query: {
  78. 'link_textnum':24,
  79. 'link_imgnum':18,
  80. 'link_footnum':4
  81. },
  82. });
  83. if (responseStatus.code == 200) {
  84. //1.6.1设置站点基本信息
  85. templateBaseStore.setWebSiteInfo(responseStatus.data)
  86. websiteId.value = responseStatus.data.website_head.id;//获得网站id
  87. //1.6.2设置皮肤id
  88. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  89. }
  90. //1.7获得广告池
  91. // const adData = ref([]);
  92. // const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  93. // method: 'GET',
  94. // query: {},
  95. // });
  96. // if (adResponseStatus.code == 200) {
  97. // templateBaseStore.setAdList(adResponseStatus.data)
  98. // adData.value = adResponseStatus.data;
  99. // }
  100. //1.8.seo
  101. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  102. method: 'GET',
  103. query: {
  104. 'catid': routeId.value
  105. },
  106. });
  107. let seoTitle = setData.data.seo_title;
  108. let seoDescription = setData.data.seo_description;
  109. let seoKeywords = setData.data.seo_keywords;
  110. let seoSuffix = setData.data.suffix;
  111. let seoName = setData.data.website_name;
  112. useSeoMeta({
  113. title: seoTitle + "_" + seoSuffix,
  114. meta: [
  115. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  116. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  117. ]
  118. });
  119. //1.获得基本信息单元 end---------------------------------------->
  120. //2.页面数据 start---------------------------------------->
  121. const response = await requestDataPromise('/client/indexData', {
  122. method: 'POST',
  123. body: {
  124. 'website_id':websiteId.value,
  125. 'getpage':'class'
  126. },
  127. });
  128. //页面数据
  129. const templateData = response.data.template.class;
  130. console.log(templateData)
  131. //广告数据
  132. const adData = ref([]);
  133. adData.value.push(response.data.ad.top)
  134. for(let item of response.data.ad.class){
  135. adData.value.push(item)
  136. }
  137. templateBaseStore.setAdList(adData.value)
  138. console.log(navigateData)
  139. //2.0 测试数据 后期移除
  140. // const testTemplateData = {
  141. // "sectorName": "text",
  142. // "componentList": [
  143. // {
  144. // "component_type": 1,//1=新闻 2=广告
  145. // "component_style": 1,//样式
  146. // "sort": 1,//组件位置
  147. // "data": {
  148. // "alias":"一级导航名称",
  149. // "category_id": 11,
  150. // "pinyin": "nongyeshengchan",
  151. // "text": [
  152. // {
  153. // "id": 2863,
  154. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  155. // "islink": 0,
  156. // "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  157. // },
  158. // {
  159. // "id": 50129,
  160. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  161. // "islink": 0,
  162. // "pinyin": "sannongzixun"
  163. // },
  164. // {
  165. // "id": 50129,
  166. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  167. // "islink": 0,
  168. // "pinyin": "sannongzixun"
  169. // },
  170. // {
  171. // "id": 2862,
  172. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  173. // "islink": 0,
  174. // "pinyin": "sannongzixun/buweidongtai"
  175. // },
  176. // {
  177. // "id": 50126,
  178. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  179. // "islink": 0,
  180. // "pinyin": "sannongzixun"
  181. // },
  182. // {
  183. // "id": 3976,
  184. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  185. // "islink": 0,
  186. // "pinyin": "sannongzixun"
  187. // },
  188. // {
  189. // "id": 50189,
  190. // "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  191. // "islink": 0,
  192. // "pinyin": "nongminhezuoshe"
  193. // },
  194. // {
  195. // "id": 50190,
  196. // "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  197. // "islink": 0,
  198. // "pinyin": "nongminhezuoshe"
  199. // }
  200. // ],
  201. // "img": [
  202. // {
  203. // "id": 50129,
  204. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  205. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  206. // "author": "linyuting123",
  207. // "updated_at": "2025-05-30 13:50:54",
  208. // "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  209. // "islink": 0,
  210. // "linkurl": "",
  211. // "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  212. // "cat_arr_id": "[1,201]",
  213. // "catid": 201,
  214. // "level": "[1,2,3]",
  215. // "pinyin": "sannongzixun"
  216. // },
  217. // {
  218. // "id": 50129,
  219. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  220. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  221. // "author": "佚名",
  222. // "updated_at": "2025-05-30 13:50:46",
  223. // "introduce": "描述",
  224. // "islink": 0,
  225. // "linkurl": "",
  226. // "copyfrom": "本网",
  227. // "cat_arr_id": "[2]",
  228. // "catid": 2,
  229. // "level": "[2,3]",
  230. // "pinyin": "sannongzixun"
  231. // },
  232. // {
  233. // "id": 50129,
  234. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  235. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  236. // "author": "佚名",
  237. // "updated_at": "2025-05-30 13:50:45",
  238. // "introduce": "描述",
  239. // "islink": 0,
  240. // "linkurl": "",
  241. // "copyfrom": "本网",
  242. // "cat_arr_id": "[1]",
  243. // "catid": 1,
  244. // "level": "[2]",
  245. // "pinyin": "sannongzixun"
  246. // },
  247. // {
  248. // "id": 50129,
  249. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  250. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  251. // "author": "佚名",
  252. // "updated_at": "2025-05-30 13:50:44",
  253. // "introduce": "描述",
  254. // "islink": 0,
  255. // "linkurl": "",
  256. // "copyfrom": "本网",
  257. // "cat_arr_id": "[11]",
  258. // "catid": 11,
  259. // "level": "[2]",
  260. // "pinyin": "xinnongcun"
  261. // },
  262. // {
  263. // "id": 50129,
  264. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  265. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  266. // "author": "佚名",
  267. // "updated_at": "2025-05-30 13:50:43",
  268. // "introduce": "描述",
  269. // "islink": 0,
  270. // "linkurl": "",
  271. // "copyfrom": "本网",
  272. // "cat_arr_id": "[14,240]",
  273. // "catid": 240,
  274. // "level": "[2,3]",
  275. // "pinyin": "sannongzixun"
  276. // },
  277. // {
  278. // "id": 50129,
  279. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  280. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  281. // "author": "佚名",
  282. // "updated_at": "2025-04-16 11:04:29",
  283. // "introduce": "描述",
  284. // "islink": 0,
  285. // "linkurl": "",
  286. // "copyfrom": "本网",
  287. // "cat_arr_id": null,
  288. // "catid": 36,
  289. // "level": "[2]",
  290. // "pinyin": "sannongzixun"
  291. // }
  292. // ]
  293. // }
  294. // },
  295. // {
  296. // "component_type": 1,//1=新闻 2=广告
  297. // "component_style": 1,//样式
  298. // "sort": 1,//组件位置
  299. // "data": {
  300. // "alias":"一级导航名称2",
  301. // "category_id": 11,
  302. // "pinyin": "sannongzixun/zhengcefagui",
  303. // "text": [
  304. // {
  305. // "id": 2863,
  306. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  307. // "islink": 0,
  308. // "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  309. // },
  310. // {
  311. // "id": 50129,
  312. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  313. // "islink": 0,
  314. // "pinyin": "sannongzixun"
  315. // },
  316. // {
  317. // "id": 50129,
  318. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  319. // "islink": 0,
  320. // "pinyin": "sannongzixun"
  321. // },
  322. // {
  323. // "id": 2862,
  324. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  325. // "islink": 0,
  326. // "pinyin": "sannongzixun/buweidongtai"
  327. // },
  328. // {
  329. // "id": 50126,
  330. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  331. // "islink": 0,
  332. // "pinyin": "sannongzixun"
  333. // },
  334. // {
  335. // "id": 3976,
  336. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  337. // "islink": 0,
  338. // "pinyin": "sannongzixun"
  339. // },
  340. // {
  341. // "id": 50189,
  342. // "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  343. // "islink": 0,
  344. // "pinyin": "nongminhezuoshe"
  345. // },
  346. // {
  347. // "id": 50190,
  348. // "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  349. // "islink": 0,
  350. // "pinyin": "nongminhezuoshe"
  351. // }
  352. // ],
  353. // "img": [
  354. // {
  355. // "id": 50129,
  356. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  357. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  358. // "author": "linyuting123",
  359. // "updated_at": "2025-05-30 13:50:54",
  360. // "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  361. // "islink": 0,
  362. // "linkurl": "",
  363. // "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  364. // "cat_arr_id": "[1,201]",
  365. // "catid": 201,
  366. // "level": "[1,2,3]",
  367. // "pinyin": "sannongzixun"
  368. // },
  369. // {
  370. // "id": 50129,
  371. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  372. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  373. // "author": "佚名",
  374. // "updated_at": "2025-05-30 13:50:46",
  375. // "introduce": "描述",
  376. // "islink": 0,
  377. // "linkurl": "",
  378. // "copyfrom": "本网",
  379. // "cat_arr_id": "[2]",
  380. // "catid": 2,
  381. // "level": "[2,3]",
  382. // "pinyin": "sannongzixun"
  383. // },
  384. // {
  385. // "id": 50129,
  386. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  387. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  388. // "author": "佚名",
  389. // "updated_at": "2025-05-30 13:50:45",
  390. // "introduce": "描述",
  391. // "islink": 0,
  392. // "linkurl": "",
  393. // "copyfrom": "本网",
  394. // "cat_arr_id": "[1]",
  395. // "catid": 1,
  396. // "level": "[2]",
  397. // "pinyin": "sannongzixun"
  398. // },
  399. // {
  400. // "id": 50129,
  401. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  402. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  403. // "author": "佚名",
  404. // "updated_at": "2025-05-30 13:50:44",
  405. // "introduce": "描述",
  406. // "islink": 0,
  407. // "linkurl": "",
  408. // "copyfrom": "本网",
  409. // "cat_arr_id": "[11]",
  410. // "catid": 11,
  411. // "level": "[2]",
  412. // "pinyin": "xinnongcun"
  413. // },
  414. // {
  415. // "id": 50129,
  416. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  417. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  418. // "author": "佚名",
  419. // "updated_at": "2025-05-30 13:50:43",
  420. // "introduce": "描述",
  421. // "islink": 0,
  422. // "linkurl": "",
  423. // "copyfrom": "本网",
  424. // "cat_arr_id": "[14,240]",
  425. // "catid": 240,
  426. // "level": "[2,3]",
  427. // "pinyin": "sannongzixun"
  428. // },
  429. // {
  430. // "id": 50129,
  431. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  432. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  433. // "author": "佚名",
  434. // "updated_at": "2025-04-16 11:04:29",
  435. // "introduce": "描述",
  436. // "islink": 0,
  437. // "linkurl": "",
  438. // "copyfrom": "本网",
  439. // "cat_arr_id": null,
  440. // "catid": 36,
  441. // "level": "[2]",
  442. // "pinyin": "sannongzixun"
  443. // }
  444. // ]
  445. // }
  446. // },
  447. // {
  448. // "component_type": 1,//1=新闻 2=广告
  449. // "component_style": 1,//样式
  450. // "sort": 3,//组件位置
  451. // "data": {
  452. // "alias":"一级导航名称3",
  453. // "category_id": 11,
  454. // "pinyin": "sannongzixun/zhengcefagui",
  455. // "text": [
  456. // {
  457. // "id": 2863,
  458. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  459. // "islink": 0,
  460. // "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  461. // },
  462. // {
  463. // "id": 50129,
  464. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  465. // "islink": 0,
  466. // "pinyin": "sannongzixun"
  467. // },
  468. // {
  469. // "id": 50129,
  470. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  471. // "islink": 0,
  472. // "pinyin": "sannongzixun"
  473. // },
  474. // {
  475. // "id": 2862,
  476. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  477. // "islink": 0,
  478. // "pinyin": "sannongzixun/buweidongtai"
  479. // },
  480. // {
  481. // "id": 50126,
  482. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  483. // "islink": 0,
  484. // "pinyin": "sannongzixun"
  485. // },
  486. // {
  487. // "id": 3976,
  488. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  489. // "islink": 0,
  490. // "pinyin": "sannongzixun"
  491. // },
  492. // {
  493. // "id": 50189,
  494. // "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  495. // "islink": 0,
  496. // "pinyin": "nongminhezuoshe"
  497. // },
  498. // {
  499. // "id": 50190,
  500. // "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  501. // "islink": 0,
  502. // "pinyin": "nongminhezuoshe"
  503. // }
  504. // ],
  505. // "img": [
  506. // {
  507. // "id": 50129,
  508. // "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  509. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  510. // "author": "linyuting123",
  511. // "updated_at": "2025-05-30 13:50:54",
  512. // "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  513. // "islink": 0,
  514. // "linkurl": "",
  515. // "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  516. // "cat_arr_id": "[1,201]",
  517. // "catid": 201,
  518. // "level": "[1,2,3]",
  519. // "pinyin": "sannongzixun"
  520. // },
  521. // {
  522. // "id": 50129,
  523. // "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  524. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  525. // "author": "佚名",
  526. // "updated_at": "2025-05-30 13:50:46",
  527. // "introduce": "描述",
  528. // "islink": 0,
  529. // "linkurl": "",
  530. // "copyfrom": "本网",
  531. // "cat_arr_id": "[2]",
  532. // "catid": 2,
  533. // "level": "[2,3]",
  534. // "pinyin": "sannongzixun"
  535. // },
  536. // {
  537. // "id": 50129,
  538. // "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  539. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  540. // "author": "佚名",
  541. // "updated_at": "2025-05-30 13:50:45",
  542. // "introduce": "描述",
  543. // "islink": 0,
  544. // "linkurl": "",
  545. // "copyfrom": "本网",
  546. // "cat_arr_id": "[1]",
  547. // "catid": 1,
  548. // "level": "[2]",
  549. // "pinyin": "sannongzixun"
  550. // },
  551. // {
  552. // "id": 50129,
  553. // "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  554. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  555. // "author": "佚名",
  556. // "updated_at": "2025-05-30 13:50:44",
  557. // "introduce": "描述",
  558. // "islink": 0,
  559. // "linkurl": "",
  560. // "copyfrom": "本网",
  561. // "cat_arr_id": "[11]",
  562. // "catid": 11,
  563. // "level": "[2]",
  564. // "pinyin": "xinnongcun"
  565. // },
  566. // {
  567. // "id": 50129,
  568. // "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  569. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  570. // "author": "佚名",
  571. // "updated_at": "2025-05-30 13:50:43",
  572. // "introduce": "描述",
  573. // "islink": 0,
  574. // "linkurl": "",
  575. // "copyfrom": "本网",
  576. // "cat_arr_id": "[14,240]",
  577. // "catid": 240,
  578. // "level": "[2,3]",
  579. // "pinyin": "sannongzixun"
  580. // },
  581. // {
  582. // "id": 50129,
  583. // "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  584. // "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  585. // "author": "佚名",
  586. // "updated_at": "2025-04-16 11:04:29",
  587. // "introduce": "描述",
  588. // "islink": 0,
  589. // "linkurl": "",
  590. // "copyfrom": "本网",
  591. // "cat_arr_id": null,
  592. // "catid": 36,
  593. // "level": "[2]",
  594. // "pinyin": "sannongzixun"
  595. // }
  596. // ]
  597. // }
  598. // },
  599. // ],
  600. // "ad": {
  601. // "ad_tag": "nmw_index_0003"
  602. // }
  603. // }
  604. // //静态链接测试数据
  605. // const testTemplateData2 = {
  606. // "sectorName": "linkSector",
  607. // "componentList": [
  608. // {
  609. // "component_type": 3,
  610. // "component_style": 1,
  611. // "sort": 1,
  612. // "componentData": {}
  613. // }
  614. // ],
  615. // "sort": 4
  616. // }
  617. //2.页面数据 end---------------------------------------->
  618. </script>
  619. <style lang="less" scoped>
  620. @import '@/assets/css/class.less';
  621. </style>